进来看一下`

来源:百度知道 编辑:UC知道 时间:2024/05/25 04:31:34
window.parent.opener.location=window.parent.opener.location
详细讲解一下,为什么要这样写呢,写一个不行吗
谢谢wuya7520的回答~~不过我是要问我这句

在编程里面写一个跟写俩个能一样吗?
比如你能说1=1跟1一样吗?
1=1 可以是(0+1)=1 可以是(2-1)=1
等等啊````````````

window.opener.parent.location.reload();self.close()
让打开这个窗口的父窗口刷新,然后本子窗口关闭
opener的意思是接父窗口